//using SqlSugar;

namespace Model
{
    /// <summary>
    /// 
    /// </summary>
    public class F_CostRoom
    {
        /// <summary>
        /// 
        /// </summary>
        public F_CostRoom()
        {
        }

        /// <summary>
        /// 
        /// </summary>
        /// 
        [SqlSugar.SugarColumn(IsIdentity =true,IsPrimaryKey =true)]
        public System.Int32 Id { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Int32 WaterId { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Int32? OwnerId { get; set; }
        public string  OwnerName { get; set; }
        public int RoomId { get; set; }
        public string RoomNo { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string CostType { get; set; }
        public string PayType { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Decimal Amount { get; set; }


        public System.DateTime CreateTime { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public System.Int32? UserId { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String UserName { get; set; }

        [SqlSugar.SugarColumn(IsIgnore =true)]
        public Rooms RoomInfo { get; set; }

        [SqlSugar.SugarColumn(IsIgnore = true)]
        public Costs CostInfo { get; set; }

        [SqlSugar.SugarColumn(IsIgnore = true)]
        public F_Water WaterInfo { get; set; }
    }
}